const express = require("express");
const app = express();

app.use((req, res, next) => {
  next();
});

app.get("/login", (req, res) => {
  let user = {
    username: "admin",
    realName: "管理员",
    password: "123456",
    avatar: "assets/images/logo193.svg"
  }
  console.log("登录成功");
  res.send(user);
});


app.listen(5000, () => {
  console.log("登陆服务器启动成功");
});
